package com.example.mapper;

import com.example.pojo.StudentDeleteLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StudentLogMapper {

    //这里就一句sql，还简介，直接基于注解的方式编写
    @Insert("insert into stu_delete_log(operate_id,delete_id,create_time,description) values( #{operateId},#{deleteId},#{createTime},#{description} )")
    void studentDeleteLog(StudentDeleteLog studentDeleteLog);
}
